import { ref,computed } from 'vue';

export default function(){

    let sum = ref(0);
    
    const bigSum = computed(() => sum.value*100);

    function getSum(num:number){
        sum.value += num;
    }

    return {sum,bigSum,getSum}
}